package com.qidianit.mes.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Author djl
 * @Time 2024/10/14 20:50
 */
public class Material {
    private Long materialId;// 物料产品ID
    private String materialCode;// 物料产品编码
    private String materialName;// 物料产品名称
    private String specification;// 规格型号
    private String materialUnitCode;// 单位
    private Integer kindType;// 物料 | 产品标识
    private Long kindId;// 物料分类ID
    private String kindName;// 物料分类名称
    private Integer materialStatus;// 是否启用 1是，2否，99删除
    private Integer safeFlag;// 是否设置安全库存
    private Long minStock;// 最低库存量
    private Long maxStock;// 最大库存量
    private String materialRemark;// 备注
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;// 创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date modifyTime;// 更新时间
    private Long[] classify;

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getMaterialUnitCode() {
        return materialUnitCode;
    }

    public void setMaterialUnitCode(String materialUnitCode) {
        this.materialUnitCode = materialUnitCode;
    }

    public Integer getKindType() {
        return kindType;
    }

    public void setKindType(Integer kindType) {
        this.kindType = kindType;
    }

    public Long getKindId() {
        return kindId;
    }

    public void setKindId(Long kindId) {
        this.kindId = kindId;
    }

    public String getKindName() {
        return kindName;
    }

    public void setKindName(String kindName) {
        this.kindName = kindName;
    }

    public Integer getMaterialStatus() {
        return materialStatus;
    }

    public void setMaterialStatus(Integer materialStatus) {
        this.materialStatus = materialStatus;
    }

    public Integer getSafeFlag() {
        return safeFlag;
    }

    public void setSafeFlag(Integer safeFlag) {
        this.safeFlag = safeFlag;
    }

    public Long getMinStock() {
        return minStock;
    }

    public void setMinStock(Long minStock) {
        this.minStock = minStock;
    }

    public Long getMaxStock() {
        return maxStock;
    }

    public void setMaxStock(Long maxStock) {
        this.maxStock = maxStock;
    }

    public String getMaterialRemark() {
        return materialRemark;
    }

    public void setMaterialRemark(String materialRemark) {
        this.materialRemark = materialRemark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long[] getClassify() {
        return classify;
    }

    public void setClassify(Long[] classify) {
        this.classify = classify;
    }
}
